# app/routes/main.py
from flask import Blueprint, redirect, url_for
from flask import render_template
from flask_login import LoginManager, login_required, current_user


main_bp = Blueprint('main', __name__)

@main_bp.route('/')
@login_required
def index():
    return render_template("first.html")

@main_bp.route('/analyse')
def home():
    return render_template("index.html")

@main_bp.route('/wh')
def wh():
    return render_template("wh.html")